#include "PreCompile.hpp"

namespace BuildNG
{
  static bool shared_initialized = false;

  void init_shared()
  {
    assert(!shared_initialized);
    shared_initialized = true;

    Glib::init();
    Glib::thread_init();
  }

  void shutdown_shared()
  {
    shared_initialized = false;
  }

  bool is_shared_initialized()
  {
    return shared_initialized;
  }
}
